package UI;

import org.eclipse.swt.layout.FormLayout;
import org.eclipse.swt.widgets.Shell;

/**
 * Base shell class for the game/army selection shells.
 */
public class BaseShell extends Shell
{
	public BaseShell()
	{
		super(SWTUtil.getDisplay());
		
		FormLayout formLayout = new FormLayout();
		formLayout.marginWidth = 30;
		formLayout.marginHeight = 30;
		
		setLayout(formLayout);
		setMinimumSize(800, 600);
		setSize(1024, 768);
	}
	
	@Override
	protected void checkSubclass()
	{
		// Empty on purpose. Makes subclassing Shell possible.
	}
}
